all: build

build:
	rm -rf build && mkdir -p build && cd build && cmake .. && make

clean:
	rm -rf build
	rm -rf cscope.in.out cscope.out cscope.po.out tags

run: build
	./build/ir_gen ./example/test2.cpp

.PHONY: build run clean

vim:
	ctags -R
	cscope -Rbkq
